package com.longshihan.carservice.service.Article;

import com.github.pagehelper.PageInfo;
import com.longshihan.carservice.model.ArticleDomain;

public interface ArticleService {
    int addArticle(ArticleDomain articleDomain);

    int delArticle(String authorId,String articleId);

    int updateArticle(ArticleDomain articleDomain);

    PageInfo<ArticleDomain> getArticles(int pageNum, int pageSize);

    ArticleDomain getArticleById(String authorId,String articleId);

}
